package com.zdkj.subway.epm.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zdkj.subway.epm.entity.SwExDeviceFault;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 票务设备异常管理
 *
 * @author cuilei
 * @date 2020-05-26 15:05:54
 */
public interface SwExDeviceFaultMapper extends BaseMapper<SwExDeviceFault> {
    /**
     * 自定义条件查询
     *
     * @param page
     * @param query
     * @return
     */
    IPage<SwExDeviceFault> pageSelect(Page page, @Param(Constants.WRAPPER) Wrapper query);

    List<SwExDeviceFault> listSelect(@Param("ids") String ids);
}
